﻿using Admin.Core.Model.Xsproject;
using Admin.Core.Service.Xsproject.TaskHis.Input;
using Admin.Core.Service.Xsproject.TaskHis.Output;
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Text;

namespace Admin.Core.Service.Xsproject.TaskHis
{
    /// <summary>
    /// 映射配置
    /// 双向映射 .ReverseMap()
    /// </summary>
    public class MapConfig : Profile
    {
        public MapConfig()
        {
            //新增
            //CreateMap<TaskItemAddInput, TaskItemEntity>();
            //CreateMap<UserUpdateInput, TaskItemEntity>();

            CreateMap<TaskHisEntity, TaskHisListOutput>();
            CreateMap<TaskHisAddInput, TaskHisEntity>();

            //CreateMap<TaskItemUpdateInput, TaskHisEntity>().ForMember(
            //  d => d.ResponId,
            //  m => m.MapFrom(s => s.ResponName)
            //);
            
        }
    }
}
